home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / dbedit.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  2.8 KB  |  87 lines

  1. // Borland C++ Builder
  2. // Copyright (c) 1995, 1998 by Borland International
  3. // All rights reserved
  4.  
  5. // (DO NOT EDIT: machine generated header) 'DBEdit.pas' rev: 3.00
  6.  
  7. #ifndef DBEditHPP
  8. #define DBEditHPP
  9. #include <DBTables.hpp>
  10. #include <Db.hpp>
  11. #include <StdCtrls.hpp>
  12. #include <Buttons.hpp>
  13. #include <Dialogs.hpp>
  14. #include <Forms.hpp>
  15. #include <Controls.hpp>
  16. #include <Graphics.hpp>
  17. #include <Classes.hpp>
  18. #include <Messages.hpp>
  19. #include <Windows.hpp>
  20. #include <SysUtils.hpp>
  21. #include <SysInit.hpp>
  22. #include <System.hpp>
  23.  
  24. //-- user supplied -----------------------------------------------------------
  25.  
  26. namespace Dbedit
  27. {
  28. //-- type declarations -------------------------------------------------------
  29. class DELPHICLASS TDBEditForm;
  30. class PASCALIMPLEMENTATION TDBEditForm : public Forms::TForm 
  31. {
  32.     typedef Forms::TForm inherited;
  33.     
  34. __published:
  35.     Stdctrls::TGroupBox* GroupBox1;
  36.     Stdctrls::TLabel* Label4;
  37.     Stdctrls::TEdit* DatabaseName;
  38.     Stdctrls::TLabel* Label1;
  39.     Stdctrls::TComboBox* AliasName;
  40.     Stdctrls::TLabel* Label2;
  41.     Stdctrls::TComboBox* DriverName;
  42.     Stdctrls::TLabel* Label3;
  43.     Stdctrls::TMemo* DatabaseParams;
  44.     Stdctrls::TButton* DefaultsButton;
  45.     Stdctrls::TButton* ClearButton;
  46.     Stdctrls::TGroupBox* GroupBox3;
  47.     Stdctrls::TCheckBox* LoginPrompt;
  48.     Stdctrls::TCheckBox* KeepConnection;
  49.     Stdctrls::TButton* OkButton;
  50.     Stdctrls::TButton* CancelButton;
  51.     Stdctrls::TButton* HelpButton;
  52.     void __fastcall AliasNameChange(System::TObject* Sender);
  53.     void __fastcall AliasNameDropDown(System::TObject* Sender);
  54.     void __fastcall DriverNameChange(System::TObject* Sender);
  55.     void __fastcall DriverNameDropDown(System::TObject* Sender);
  56.     void __fastcall DefaultsButtonClick(System::TObject* Sender);
  57.     void __fastcall ClearButtonClick(System::TObject* Sender);
  58.     void __fastcall OkButtonClick(System::TObject* Sender);
  59.     void __fastcall FormCreate(System::TObject* Sender);
  60.     void __fastcall HelpButtonClick(System::TObject* Sender);
  61.     
  62. private:
  63.     Dbtables::TDatabase* Database;
  64.     bool __fastcall Edit(void);
  65. public:
  66.     /* TCustomForm.Create */ __fastcall virtual TDBEditForm(Classes::TComponent* AOwner) : Forms::TForm(
  67.         AOwner) { }
  68.     /* TCustomForm.CreateNew */ __fastcall TDBEditForm(Classes::TComponent* AOwner, int Dummy) : Forms::
  69.         TForm(AOwner, Dummy) { }
  70.     /* TCustomForm.Destroy */ __fastcall virtual ~TDBEditForm(void) { }
  71.     
  72. public:
  73.     /* TWinControl.CreateParented */ __fastcall TDBEditForm(HWND ParentWindow) : Forms::TForm(ParentWindow
  74.         ) { }
  75.     
  76. };
  77.  
  78. //-- var, const, procedure ---------------------------------------------------
  79. extern PACKAGE bool __fastcall EditDatabase(Dbtables::TDatabase* ADatabase);
  80.  
  81. }    /* namespace Dbedit */
  82. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  83. using namespace Dbedit;
  84. #endif
  85. //-- end unit ----------------------------------------------------------------
  86. #endif    // DBEdit
  87.